package a.j;

import a.d.w;

import java.awt.*;

public class ue
  implements qb
{
  private final byte a;
  private final byte b;
  private final w c;
  private Object d;
  private double e;
  private double f;
  private double g = 1.0D;
  public static final byte h = 0;
  public static final byte i = 1;
  public static final byte j = 1;
  public static final byte k = 2;
  public static final byte l = 4;
  public static final byte m = 8;
  public static final byte n = 16;
  private static final int o = 10;
  public static boolean p;
  
  public ue(byte paramByte1, byte paramByte2, w paramw, Object paramObject, double paramDouble)
  {
    this.a = paramByte1;
    this.b = paramByte2;
    this.c = paramw;
    this.d = paramObject;
    this.g = paramDouble;
    if (!bool) {
      if (paramByte1 == 1)
      {
        this.e = (paramw.b - 1000.0D);
        this.f = (paramw.b + 1000.0D);
        if (!bool) {
          if (!ld.D) {
            return;
          }
        }
      }
      else
      {
        this.e = (paramw.a - 1000.0D);
      }
    }
    this.f = (paramw.a + 1000.0D);
  }
  
  public ue(byte paramByte1, byte paramByte2, w paramw, double paramDouble1, double paramDouble2, Object paramObject, double paramDouble3)
  {
    this.a = paramByte1;
    this.b = paramByte2;
    this.c = paramw;
    this.e = paramDouble1;
    this.f = paramDouble2;
    this.d = paramObject;
    this.g = paramDouble3;
  }
  
  public double a()
  {
    return this.g;
  }
  
  public w b()
  {
    return this.c;
  }
  
  public byte c()
  {
    return this.a;
  }
  
  public byte d()
  {
    return this.b;
  }
  
  public double e()
  {
    return this.e;
  }
  
  public double f()
  {
    return this.f;
  }
  
  public void a(double paramDouble)
  {
    this.e = paramDouble;
  }
  
  public void b(double paramDouble)
  {
    this.f = paramDouble;
  }
  
  public Rectangle getBounds()
  {
    w localw = b();
    if (this.a == 1)
    {
      if (ld.E) {
        break label104;
      }
      localDouble = new Line2D.Double(localw.a - 5.0D, this.e - 10.0D, localw.a + 5.0D, this.f + 10.0D);
      if (!ld.D) {
        break label105;
      }
    }
    label104:
    Line2D.Double localDouble = new Line2D.Double(this.e - 10.0D, localw.b - 5.0D, this.f + 10.0D, localw.b + 5.0D);
    label105:
    return localDouble.getBounds();
  }
  
  public void paint(Graphics2D paramGraphics2D)
  {
    w localw = b();
    double d1 = localw.a;
    double d2 = localw.b;
    Line2D.Double localDouble;
    if (this.a == 1)
    {
      localDouble = new Line2D.Double(d1, this.e - 10.0D, d1, this.f + 10.0D);
      a(paramGraphics2D, d1, this.e);
      a(paramGraphics2D, d1, this.f);
      if (ld.E) {
        return;
      }
      if (!ld.D) {}
    }
    else
    {
      localDouble = new Line2D.Double(this.e - 10.0D, d2, this.f + 10.0D, d2);
      a(paramGraphics2D, this.e, d2);
      a(paramGraphics2D, this.f, d2);
    }
    paramGraphics2D.draw(localDouble);
    a(paramGraphics2D, d1, d2);
  }
  
  static void a(Graphics2D paramGraphics2D, double paramDouble1, double paramDouble2)
  {
    paramGraphics2D.draw(new Line2D.Double(paramDouble1 - 3.0D, paramDouble2 - 3.0D, paramDouble1 + 3.0D, paramDouble2 + 3.0D));
    paramGraphics2D.draw(new Line2D.Double(paramDouble1 - 3.0D, paramDouble2 + 3.0D, paramDouble1 + 3.0D, paramDouble2 - 3.0D));
  }
  
  public Object g()
  {
    return this.d;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.ue

 * JD-Core Version:    0.7.0.1

 */